@layout("/common/_container.html"){
<style>.btnBox{background:#f1f1f1;position:fixed;bottom:0;width:100%;padding:5px 0;text-align:center;}.btnBox>button{margin:0;color:white;background:#6090b8;padding:5px 14px;}.btnBox>button:last-of-type{background:white;color:inherit;border:1px solid #999999}.temporaryContent{height:calc(100% - 77px);overflow:auto;padding:20px 30px;}.temporaryContent > div{display:flex;margin-bottom:15px;}.temporaryContent > div > div:first-of-type{width:75px;}.temporaryContent > div > div:last-of-type{flex:1}.temporaryContent input,.temporaryContent select{padding-left:5px;width:157px;height:30px;}</style>
<div style="height: 100%">
    <div style="background: #6090b8;color: white;padding: 5px 10px;">临时患者</div>
    <div class="temporaryContent">
        <div>
            <div>姓名：<span style="color: red">*</span></div>
            <div><input type="text" id="customerName" autocomplete="off"></div>
        </div>
        <div>
            <div>电话：<span style="color: red">*</span></div>
            <div>
                <input type="text" id="customerPhone" autocomplete="off" maxlength="11" oninput="value=value.replace(/[^\d]/g,'')">
                <select name="phoneSharShip" id="phoneSharShip" style="width: 23%;display:none" class="input_style">
                    @for(str in refereeShipList){
                    <option value="${str.refereeShip}">${str.refereeShip}</option>
                    @}
                </select>
            </div>
        </div>
        <div>
            <div>年龄：<span style="color: red">*</span></div>
            <div><input type="text" id="customerAge" autocomplete="off" maxlength="2" oninput="value=value.replace(/[^\d]/g,'')"></div>
        </div>
        <div>
            <div>性别：<span style="color: red">*</span></div>
            <div>
                <select name="customerSex" id="customerSex">
                    <option value="1">男</option>
                    <option value="2">女</option>
                </select>
            </div>
        </div>
    </div>
    <div class="btnBox">
        <button class="btn" type="button" id="submission">保存</button>
        <button class="btn" type="button" onclick="parent.layer.close(parent.layer.getFrameIndex(window.name))">取消</button>
    </div>
</div>
<script src="${ctxPath}/static/modular/doctorLooked/temporaryAppointment.js?v=20200628"></script>
@}